<%@page contentType="text/html;charset=UTF-8"%>
<% request.setCharacterEncoding("UTF-8"); %>
<HTML>
<HEAD>
<TITLE>Result</TITLE>
</HEAD>
<BODY>
<H1>Result</H1>

<jsp:useBean id="samplePersonBussinessProxyid" scope="session" class="com.bussiness.PersonBussinessProxy" />
<%
if (request.getParameter("endpoint") != null && request.getParameter("endpoint").length() > 0)
samplePersonBussinessProxyid.setEndpoint(request.getParameter("endpoint"));
%>

<%
String method = request.getParameter("method");
int methodID = 0;
if (method == null) methodID = -1;

if(methodID != -1) methodID = Integer.parseInt(method);
boolean gotMethod = false;

try {
switch (methodID){ 
case 2:
        gotMethod = true;
        java.lang.String getEndpoint2mtemp = samplePersonBussinessProxyid.getEndpoint();
if(getEndpoint2mtemp == null){
%>
<%=getEndpoint2mtemp %>
<%
}else{
        String tempResultreturnp3 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getEndpoint2mtemp));
        %>
        <%= tempResultreturnp3 %>
        <%
}
break;
case 5:
        gotMethod = true;
        String endpoint_0id=  request.getParameter("endpoint8");
            java.lang.String endpoint_0idTemp = null;
        if(!endpoint_0id.equals("")){
         endpoint_0idTemp  = endpoint_0id;
        }
        samplePersonBussinessProxyid.setEndpoint(endpoint_0idTemp);
break;
case 10:
        gotMethod = true;
        com.bussiness.PersonBussiness getPersonBussiness10mtemp = samplePersonBussinessProxyid.getPersonBussiness();
if(getPersonBussiness10mtemp == null){
%>
<%=getPersonBussiness10mtemp %>
<%
}else{
        if(getPersonBussiness10mtemp!= null){
        String tempreturnp11 = getPersonBussiness10mtemp.toString();
        %>
        <%=tempreturnp11%>
        <%
        }}
break;
case 13:
        gotMethod = true;
        String zipCode_2id=  request.getParameter("zipCode18");
        int zipCode_2idTemp  = Integer.parseInt(zipCode_2id);
        String state_3id=  request.getParameter("state20");
            java.lang.String state_3idTemp = null;
        if(!state_3id.equals("")){
         state_3idTemp  = state_3id;
        }
        String lastLoggedIn_4id=  request.getParameter("lastLoggedIn22");
            java.util.Calendar lastLoggedIn_4idTemp = null;
        if(!lastLoggedIn_4id.equals("")){
        java.text.DateFormat dateFormatlastLoggedIn22 = java.text.DateFormat.getDateInstance();
        java.util.Date dateTemplastLoggedIn22  = dateFormatlastLoggedIn22.parse(lastLoggedIn_4id);
         lastLoggedIn_4idTemp = new java.util.GregorianCalendar();
        lastLoggedIn_4idTemp.setTime(dateTemplastLoggedIn22);
        }
        String emailId_5id=  request.getParameter("emailId24");
            java.lang.String emailId_5idTemp = null;
        if(!emailId_5id.equals("")){
         emailId_5idTemp  = emailId_5id;
        }
        String city_6id=  request.getParameter("city26");
            java.lang.String city_6idTemp = null;
        if(!city_6id.equals("")){
         city_6idTemp  = city_6id;
        }
        String memberShipNumber_7id=  request.getParameter("memberShipNumber28");
        int memberShipNumber_7idTemp  = Integer.parseInt(memberShipNumber_7id);
        String address_8id=  request.getParameter("address30");
            java.lang.String address_8idTemp = null;
        if(!address_8id.equals("")){
         address_8idTemp  = address_8id;
        }
        String firstName_9id=  request.getParameter("firstName32");
            java.lang.String firstName_9idTemp = null;
        if(!firstName_9id.equals("")){
         firstName_9idTemp  = firstName_9id;
        }
        String password_10id=  request.getParameter("password34");
            java.lang.String password_10idTemp = null;
        if(!password_10id.equals("")){
         password_10idTemp  = password_10id;
        }
        String lastName_11id=  request.getParameter("lastName36");
            java.lang.String lastName_11idTemp = null;
        if(!lastName_11id.equals("")){
         lastName_11idTemp  = lastName_11id;
        }
        %>
        <jsp:useBean id="com1beans1Person_1id" scope="session" class="com.beans.Person" />
        <%
        com1beans1Person_1id.setZipCode(zipCode_2idTemp);
        com1beans1Person_1id.setState(state_3idTemp);
        com1beans1Person_1id.setLastLoggedIn(lastLoggedIn_4idTemp);
        com1beans1Person_1id.setEmailId(emailId_5idTemp);
        com1beans1Person_1id.setCity(city_6idTemp);
        com1beans1Person_1id.setMemberShipNumber(memberShipNumber_7idTemp);
        com1beans1Person_1id.setAddress(address_8idTemp);
        com1beans1Person_1id.setFirstName(firstName_9idTemp);
        com1beans1Person_1id.setPassword(password_10idTemp);
        com1beans1Person_1id.setLastName(lastName_11idTemp);
        int createUser13mtemp = samplePersonBussinessProxyid.createUser(com1beans1Person_1id);
        String tempResultreturnp14 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(createUser13mtemp));
        %>
        <%= tempResultreturnp14 %>
        <%
break;
case 38:
        gotMethod = true;
        String zipCode_13id=  request.getParameter("zipCode43");
        int zipCode_13idTemp  = Integer.parseInt(zipCode_13id);
        String state_14id=  request.getParameter("state45");
            java.lang.String state_14idTemp = null;
        if(!state_14id.equals("")){
         state_14idTemp  = state_14id;
        }
        String lastLoggedIn_15id=  request.getParameter("lastLoggedIn47");
            java.util.Calendar lastLoggedIn_15idTemp = null;
        if(!lastLoggedIn_15id.equals("")){
        java.text.DateFormat dateFormatlastLoggedIn47 = java.text.DateFormat.getDateInstance();
        java.util.Date dateTemplastLoggedIn47  = dateFormatlastLoggedIn47.parse(lastLoggedIn_15id);
         lastLoggedIn_15idTemp = new java.util.GregorianCalendar();
        lastLoggedIn_15idTemp.setTime(dateTemplastLoggedIn47);
        }
        String emailId_16id=  request.getParameter("emailId49");
            java.lang.String emailId_16idTemp = null;
        if(!emailId_16id.equals("")){
         emailId_16idTemp  = emailId_16id;
        }
        String city_17id=  request.getParameter("city51");
            java.lang.String city_17idTemp = null;
        if(!city_17id.equals("")){
         city_17idTemp  = city_17id;
        }
        String memberShipNumber_18id=  request.getParameter("memberShipNumber53");
        int memberShipNumber_18idTemp  = Integer.parseInt(memberShipNumber_18id);
        String address_19id=  request.getParameter("address55");
            java.lang.String address_19idTemp = null;
        if(!address_19id.equals("")){
         address_19idTemp  = address_19id;
        }
        String firstName_20id=  request.getParameter("firstName57");
            java.lang.String firstName_20idTemp = null;
        if(!firstName_20id.equals("")){
         firstName_20idTemp  = firstName_20id;
        }
        String password_21id=  request.getParameter("password59");
            java.lang.String password_21idTemp = null;
        if(!password_21id.equals("")){
         password_21idTemp  = password_21id;
        }
        String lastName_22id=  request.getParameter("lastName61");
            java.lang.String lastName_22idTemp = null;
        if(!lastName_22id.equals("")){
         lastName_22idTemp  = lastName_22id;
        }
        %>
        <jsp:useBean id="com1beans1Person_12id" scope="session" class="com.beans.Person" />
        <%
        com1beans1Person_12id.setZipCode(zipCode_13idTemp);
        com1beans1Person_12id.setState(state_14idTemp);
        com1beans1Person_12id.setLastLoggedIn(lastLoggedIn_15idTemp);
        com1beans1Person_12id.setEmailId(emailId_16idTemp);
        com1beans1Person_12id.setCity(city_17idTemp);
        com1beans1Person_12id.setMemberShipNumber(memberShipNumber_18idTemp);
        com1beans1Person_12id.setAddress(address_19idTemp);
        com1beans1Person_12id.setFirstName(firstName_20idTemp);
        com1beans1Person_12id.setPassword(password_21idTemp);
        com1beans1Person_12id.setLastName(lastName_22idTemp);
        int updateUser38mtemp = samplePersonBussinessProxyid.updateUser(com1beans1Person_12id);
        String tempResultreturnp39 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(updateUser38mtemp));
        %>
        <%= tempResultreturnp39 %>
        <%
break;
case 63:
        gotMethod = true;
        String emailId_23id=  request.getParameter("emailId66");
            java.lang.String emailId_23idTemp = null;
        if(!emailId_23id.equals("")){
         emailId_23idTemp  = emailId_23id;
        }
        int removeUser63mtemp = samplePersonBussinessProxyid.removeUser(emailId_23idTemp);
        String tempResultreturnp64 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(removeUser63mtemp));
        %>
        <%= tempResultreturnp64 %>
        <%
break;
case 68:
        gotMethod = true;
        String zipCode_25id=  request.getParameter("zipCode93");
        int zipCode_25idTemp  = Integer.parseInt(zipCode_25id);
        String state_26id=  request.getParameter("state95");
            java.lang.String state_26idTemp = null;
        if(!state_26id.equals("")){
         state_26idTemp  = state_26id;
        }
        String lastLoggedIn_27id=  request.getParameter("lastLoggedIn97");
            java.util.Calendar lastLoggedIn_27idTemp = null;
        if(!lastLoggedIn_27id.equals("")){
        java.text.DateFormat dateFormatlastLoggedIn97 = java.text.DateFormat.getDateInstance();
        java.util.Date dateTemplastLoggedIn97  = dateFormatlastLoggedIn97.parse(lastLoggedIn_27id);
         lastLoggedIn_27idTemp = new java.util.GregorianCalendar();
        lastLoggedIn_27idTemp.setTime(dateTemplastLoggedIn97);
        }
        String emailId_28id=  request.getParameter("emailId99");
            java.lang.String emailId_28idTemp = null;
        if(!emailId_28id.equals("")){
         emailId_28idTemp  = emailId_28id;
        }
        String city_29id=  request.getParameter("city101");
            java.lang.String city_29idTemp = null;
        if(!city_29id.equals("")){
         city_29idTemp  = city_29id;
        }
        String memberShipNumber_30id=  request.getParameter("memberShipNumber103");
        int memberShipNumber_30idTemp  = Integer.parseInt(memberShipNumber_30id);
        String address_31id=  request.getParameter("address105");
            java.lang.String address_31idTemp = null;
        if(!address_31id.equals("")){
         address_31idTemp  = address_31id;
        }
        String firstName_32id=  request.getParameter("firstName107");
            java.lang.String firstName_32idTemp = null;
        if(!firstName_32id.equals("")){
         firstName_32idTemp  = firstName_32id;
        }
        String password_33id=  request.getParameter("password109");
            java.lang.String password_33idTemp = null;
        if(!password_33id.equals("")){
         password_33idTemp  = password_33id;
        }
        String lastName_34id=  request.getParameter("lastName111");
            java.lang.String lastName_34idTemp = null;
        if(!lastName_34id.equals("")){
         lastName_34idTemp  = lastName_34id;
        }
        %>
        <jsp:useBean id="com1beans1Person_24id" scope="session" class="com.beans.Person" />
        <%
        com1beans1Person_24id.setZipCode(zipCode_25idTemp);
        com1beans1Person_24id.setState(state_26idTemp);
        com1beans1Person_24id.setLastLoggedIn(lastLoggedIn_27idTemp);
        com1beans1Person_24id.setEmailId(emailId_28idTemp);
        com1beans1Person_24id.setCity(city_29idTemp);
        com1beans1Person_24id.setMemberShipNumber(memberShipNumber_30idTemp);
        com1beans1Person_24id.setAddress(address_31idTemp);
        com1beans1Person_24id.setFirstName(firstName_32idTemp);
        com1beans1Person_24id.setPassword(password_33idTemp);
        com1beans1Person_24id.setLastName(lastName_34idTemp);
        com.beans.Person validateUser68mtemp = samplePersonBussinessProxyid.validateUser(com1beans1Person_24id);
if(validateUser68mtemp == null){
%>
<%=validateUser68mtemp %>
<%
}else{
%>
<TABLE>
<TR>
<TD COLSPAN="3" ALIGN="LEFT">returnp:</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">zipCode:</TD>
<TD>
<%
if(validateUser68mtemp != null){
%>
<%=validateUser68mtemp.getZipCode()
%><%}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">state:</TD>
<TD>
<%
if(validateUser68mtemp != null){
java.lang.String typestate73 = validateUser68mtemp.getState();
        String tempResultstate73 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typestate73));
        %>
        <%= tempResultstate73 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">lastLoggedIn:</TD>
<TD>
<%
if(validateUser68mtemp != null){
java.util.Calendar typelastLoggedIn75 = validateUser68mtemp.getLastLoggedIn();
        java.text.DateFormat dateFormatlastLoggedIn75 = java.text.DateFormat.getDateInstance();
        java.util.Date datelastLoggedIn75 = typelastLoggedIn75.getTime();
        String tempResultlastLoggedIn75 = org.eclipse.jst.ws.util.JspUtils.markup(dateFormatlastLoggedIn75.format(datelastLoggedIn75));
        %>
        <%= tempResultlastLoggedIn75 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">emailId:</TD>
<TD>
<%
if(validateUser68mtemp != null){
java.lang.String typeemailId77 = validateUser68mtemp.getEmailId();
        String tempResultemailId77 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typeemailId77));
        %>
        <%= tempResultemailId77 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">city:</TD>
<TD>
<%
if(validateUser68mtemp != null){
java.lang.String typecity79 = validateUser68mtemp.getCity();
        String tempResultcity79 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typecity79));
        %>
        <%= tempResultcity79 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">memberShipNumber:</TD>
<TD>
<%
if(validateUser68mtemp != null){
%>
<%=validateUser68mtemp.getMemberShipNumber()
%><%}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">address:</TD>
<TD>
<%
if(validateUser68mtemp != null){
java.lang.String typeaddress83 = validateUser68mtemp.getAddress();
        String tempResultaddress83 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typeaddress83));
        %>
        <%= tempResultaddress83 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">firstName:</TD>
<TD>
<%
if(validateUser68mtemp != null){
java.lang.String typefirstName85 = validateUser68mtemp.getFirstName();
        String tempResultfirstName85 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typefirstName85));
        %>
        <%= tempResultfirstName85 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">password:</TD>
<TD>
<%
if(validateUser68mtemp != null){
java.lang.String typepassword87 = validateUser68mtemp.getPassword();
        String tempResultpassword87 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typepassword87));
        %>
        <%= tempResultpassword87 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">lastName:</TD>
<TD>
<%
if(validateUser68mtemp != null){
java.lang.String typelastName89 = validateUser68mtemp.getLastName();
        String tempResultlastName89 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typelastName89));
        %>
        <%= tempResultlastName89 %>
        <%
}%>
</TD>
</TABLE>
<%
}
break;
}
} catch (Exception e) { 
%>
exception: <%= e %>
<%
return;
}
if(!gotMethod){
%>
result: N/A
<%
}
%>
</BODY>
</HTML>